HasMatrix
TheHasMatrix
method returns a Boolean value that indicates whether this transform uses a matrix to describe its transformation.
ODBoolean HasMatrix ();
- return value
kODTrue
if the transform object uses a matrix, otherwisekODFalse
.DISCUSSION
Every object of theODTransform
class uses a matrix; hence this method returns true. However, if you use transforms of the classODTransform
and you have also created a subclass ofODTransform
that applies complex transformation effects that cannot be represented by matrices, you can call this method to test whether a particular transform belongs to a class that uses a transform matrix.OVERRIDING
If you subclassODTransform
to create a nonlinear transform class, you must override this method. Your override method must not call its inherited method. Instead, it should returnkODFalse
.SEE ALSO
"Custom Transform Objects" on page 450 in OpenDoc Programmer's Guide.
Main | Page One | What's New | Apple Computer, Inc. | Find It | Contact Us | Help